<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>

<body>
  <div id="app">
    <ul>
      <li v-for="food in foodList">{{food.name}}:￥{{food.discount ? food.price * food.discount : food.price}}</li>
    </ul>
  </div>
  <!--1、导入Vue的包-->
  <script src="../lib/vue.js"></script>
  <script src="js/main.js"></script>

</body>

</html>
